package com.xiaoxi.factroymethodmode.factory;

import com.xiaoxi.factroymethodmode.product.Product;

import java.util.List;

/**
 * @ClassName BaseFactory
 * @Description
 * @Author xiaoxi
 * @Date 2023/3/9 22:53
 * @Version 1.0
 */
public interface BaseFactory {

    Product createProduct(String productName);

    void registerProduct(Product product);

    List<Object> getFactory();

}
